package com.jiyun.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@TableName("maintorder")
public class Maintorder {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String oid;

    private String name;

    private String wxlx;

    private String gzlx;

    private String gzms;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cjtime;

    private BigDecimal smf;

    private BigDecimal wlf;

    private BigDecimal gsf;

    private Integer status;

    private Integer aserd;
}
